import {createStore} from 'vuex'
import menu from "./menu.js";
//安装npm i vux-persistedstate插件后，用于保存状态到本地存储
import createPersistedstate from 'vuex-persistedstate'

export default createStore({
    plugins: [new createPersistedstate({
        key: 'pz_v3pz',
    })
    ],
    modules: {
        menu
    }
})
